package com.ruoyi.app.controller.demo;

import com.ruoyi.app.service.demo.DemoBusiness;
import javax.annotation.Resource;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * Demo表 前端控制器
 * </p>
 *
 * @author Zane
 * @since 2025-09-27
 */
@RestController
@RequestMapping("/demo")
public class DemoController {

  @Resource
  private DemoBusiness demoBusiness;

  @RequestMapping("/getDemo")
  public String getDemo() {
    return demoBusiness.getDemo();
  }

}
